package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 活动内容显示
 */
@Getter
@Setter
@Document(collection = "activity_cms_config_new")
public class ActivityCmsConfig extends EntityBase {
    /**
     * 活动ID
     */
    @Indexed(unique = true)
    private String activityId;

    private String backGroundImageUrl;
    /**
     * 活动名字
     */
    private String activityName;
    /**
     * 平台
     */
    private String platform;
    /**
     * H5菜单
     * university-contest
     * province-contest
     * country-contest
     * activity-rule
     * learning-time
     * organizer
     * volunteer-service:志愿服务
     * ca-recieve:证书领取
     * official-report:官方报道
     */
    private List<ActivityIconConfig> h5Menus;

}
